package model;

import annotion.Id;

import java.io.Serializable;

/**
 * @Description:
 * @Author one world
 * @Date 2020/9/23 0023 10:11
 */
public class Header implements Serializable {
    @Id
    private int id;
    private String name;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    @Override
    public String toString() {
        return "Header{" +
                "id=" + id +
                ", name='" + name + '\'' +
                '}';
    }

    public Header(String name) {
        this.name = name;
    }

    public Header() {
    }
}
